package models

import (
	"gorm.io/gorm"
)

type Dish struct {
	gorm.Model
	Name        string  `gorm:"not null" json:"name"`
	Description string  `json:"description"`
	Price       float64 `gorm:"not null" json:"price"`
	ImageURL    string  `json:"image_url"`
	Category    string  `gorm:"not null"`
	Stock       int     `gorm:"default:0"`
	Status      string  `gorm:"default:'available'"`
	Tags        string  `gorm:"type:json"`
}
